package com.itany.corejava.day17;

import java.lang.reflect.Array;

//通过Class操作数组
public class TestClass4 {


    public static void main(String[] args) {


        Object arr=Array.newInstance(String.class,5);

        System.out.println(arr);

        Array.set(arr,0,"abc");

        System.out.println(Array.get(arr,0));



    }

}
